package com.xiaojiang.service;

import cn.dev33.satoken.util.SaResult;
import com.xiaojiang.dto.HouseholdersQueryDto;
import com.xiaojiang.dto.UpdateHouseholderCarDto;
import com.xiaojiang.entity.Householders;

/**
 * 功能：
 * 作者：小江
 * 日期：2024年10月22日
 */
public interface HouseholdersService {
    SaResult queryHouseholderByCard(String householderCard);

    SaResult queryHouseholders(HouseholdersQueryDto householdersQueryDto);

    SaResult addHouseholder(Householders householders);

    SaResult deleteHouseholderById(Integer householderId);

    SaResult deleteHouseholderByIds(Integer[] ids);

    SaResult updateHouseholder(Householders householders);

    SaResult updateHouseholderCar(UpdateHouseholderCarDto updateHouseholderCarDto);
}
